﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="IDCardNumberInterpreter._default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>身份证号解释器</title>
    <script type="text/javascript" src="/jquery-3.3.1.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("button").click(function () {
                $.get("id.ashx?number=" + $("#number").val(), function (data) {
                    $("#screen").html(data);
                });
            });
        });
    </script>
</head>
<body style="padding: 20px;">
    <hr />
    18位身份证号：<input id="number" />
    <button>解释</button>
    <hr />
    解释：
    <hr />
    <div id="screen"></div>
    <hr />
</body>
</html>
